import request from "@/utils/axios/request";

const getExam = () => {
  return request.get(`/examfront/get`)
}

export const begin = () => {
  return request({
    url: '/examfront/begin',
    method: 'post',
  })
}

const uploadSignature = (signature:string) =>{
  return request.post(`/examfront/uploadSignature`, {signature:signature})
}


const examApi = {
  getExam,
  uploadSignature,
  begin
};

export default examApi
